package queue;

import java.util.concurrent.TimeUnit;

/**
 * @author 老顾
 * @title: Delayed
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/11/4 15:51
 */
public interface Delayed extends Comparable<Delayed>{

    long getDelay(TimeUnit unit);
}
